package com.tencent.iov.cowin.befsale.clue.controller.clue.vo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.software.boot.common.model.rest.BaseResponse;
import com.tencent.iov.cowin.befsale.clue.crypt.annotation.CustomCryptField;
import com.tencent.iov.cowin.befsale.clue.crypt.enums.CustomCryptTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * _Response层
 *
 * @author whp
 * @version 1.0
 * @created 2022-01-06 14:53:43
 */
@Data
public class ClueExpirePesponse implements BaseResponse {

    @ApiModelProperty(value = "逾期时间")
    private Integer expireTime;
    @ApiModelProperty(value = "线索id")
    private Long clueId;
    @ApiModelProperty(value = "客户id")
    private Long cusId;
    @ApiModelProperty(value = "跟进计划id")
    private Long followPlanId;
    @ApiModelProperty(value = "跟进创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createdTime;
    @ApiModelProperty(value = "跟进人")
    private String followEmpName;
    @ApiModelProperty(value = "跟进时间操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operateTime;
    @ApiModelProperty(value = "客户头像")
    private String avatar;
    @ApiModelProperty(value = "客户姓名")
    private String name;
    @CustomCryptField(value = CustomCryptTypeEnum.PHONE_NUMBER)
    @ApiModelProperty(value = "客户手机")
    private String phone;
    @ApiModelProperty(value = "客户微信昵称")
    private String qwName;
    /**
     * 主数据customer_base表主键id
     */
    @ApiModelProperty(value = "主数据customer_base表主键id", example = "stringValue")
    private Long customerBaseId;
    /**
     * 外部联系人id
     */
    @ApiModelProperty(value = "外部联系人id", example = "stringValue")
    private String externalUserid;
    @ApiModelProperty(value = "线索分配时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date distributeTime;
    @ApiModelProperty(value = "计划跟进时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date planFollowTime;

}
